package com.naiterui.ehp.bs.weixin.security.properties;

import java.io.Serializable;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

//@Component
@ConfigurationProperties(value = "jwt")
@Data
public class JwtProperties implements Serializable {

    private static final long serialVersionUID = 2992665780944960359L;
    private String header = "Auth";
    private String secret = "defaultSecret";
    //单位：秒
    private Long expire = 60 * 60 * 24 * 7L;
    private String[] authPath = {"/"};
    private String[] authIgnore = {"/"};
}
